package com.evil.common.rocketmq.enums;

import com.evil.common.rocketmq.util.RocketMQUtil;

/**
 * @author liyang
 * @date 2025-03-07 11:01
 */
public interface MqOpTagBaseEnum {

    String getTag();

    default String topicAndTag(String topic) {
        // topic and tag
        return RocketMQUtil.getDestination(topic, this.getTag());
    }
}
